#import "WonderVelvetCell.h"


@implementation WonderVelvetCell

- (instancetype)initWithFrame:(CGRect)frame {
	self = [super initWithFrame:frame];
	if (self) {
		//self.contentView.backgroundColor = UIColor.whiteColor;
	}
	return self;
}

- (void)setLullabyBalance:(WonderVelvetModel *)lullabyBalance {
	_lullabyBalance = lullabyBalance;

	//: 配置cell的UI

	NSString *xenon = [NSString stringWithFormat:@"%ld", lullabyBalance.brillianceInfiniteFlow];
	self.onwardLabel.text = xenon;

}
//: zeal 的点击事件
- (void)action_1 {}

//: self.journeyClarityXylophoneBtn 的点击事件
- (void)action_3 {}

- (UITextField *)juggleFlourishTangleTextField {
	if (!_juggleFlourishTangleTextField) {
	
        _juggleFlourishTangleTextField = [UITextField new];
	}
	return _juggleFlourishTangleTextField;
}

//: magnitude 的点击事件
- (void)action_7 {}

//: duskZeal 的点击事件
- (void)action_8 {}

//: self.joyfulZenithBtn 的点击事件
- (void)action_9 {}

- (void)spiralSubViews {

    //: 描述_0
    UILabel *unity = [[UILabel alloc] init];
    unity.frame = CGRectMake(36, 26, 107, 145);
    unity.text = @"label_0";
    unity.font = [UIFont systemFontOfSize:17 weight:UIFontWeightBold];
    unity.textColor = [UIColor colorWithRed:50/255.0 green:67/255.0 blue:148/255.0 alpha:0.6];
    unity.textAlignment = NSTextAlignmentCenter;
    unity.numberOfLines = 0;
    self.onwardLabel = unity;
    [self.contentView addSubview:unity];


    //: 描述_1
    UIButton *zeal = [UIButton new];
    UIImage *applePlume = [UIImage imageNamed:@"images/icon_1.png"];
    if (applePlume) {
	    [zeal setImage:applePlume forState:UIControlStateNormal];
    }
    [zeal setTitle:@"button_1" forState:UIControlStateNormal];
    [zeal setTitle:@"button_selected_1" forState:UIControlStateSelected];
    [zeal setTitleColor:[UIColor colorWithRed:97/255.0 green:43/255.0 blue:174/255.0 alpha:0.8] forState:UIControlStateNormal];
    [zeal setTitleColor:[UIColor colorWithRed:82/255.0 green:62/255.0 blue:151/255.0 alpha:0.8] forState:UIControlStateSelected];
    [zeal addTarget:self action:@selector(action_1) forControlEvents:UIControlEventTouchUpInside];
    self.horizonBtn = zeal;
    [self.contentView addSubview:zeal];
	[self.horizonBtn mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(180);
		make.height.mas_equalTo(187);
		make.bottom.equalTo(@(27));
	}];


    //: 描述_2
    UITextField *dazzleYarn = [UITextField new];
    dazzleYarn.size = CGSizeMake(49, 162);
    dazzleYarn.left = 42;
    dazzleYarn.top = 44;
    self.prismKeyholeYieldTextField = dazzleYarn;
    [self.contentView addSubview:dazzleYarn];


    //: 描述_3
    self.journeyClarityXylophoneBtn = [UIButton new];
    self.journeyClarityXylophoneBtn.frame = CGRectMake(34, 36, 51, 163);
    UIImage *embark = [UIImage imageNamed:@"images/icon_3.png"];
    if (embark) {
	    [self.journeyClarityXylophoneBtn setImage:embark forState:UIControlStateNormal];
    }
    [self.journeyClarityXylophoneBtn setTitle:@"button_3" forState:UIControlStateNormal];
    [self.journeyClarityXylophoneBtn setTitle:@"button_selected_3" forState:UIControlStateSelected];
    [self.journeyClarityXylophoneBtn setTitleColor:[UIColor colorWithRed:101/255.0 green:169/255.0 blue:50/255.0 alpha:0.9] forState:UIControlStateNormal];
    [self.journeyClarityXylophoneBtn setTitleColor:[UIColor colorWithRed:192/255.0 green:57/255.0 blue:165/255.0 alpha:0.5] forState:UIControlStateSelected];
    [self.journeyClarityXylophoneBtn addTarget:self action:@selector(action_3) forControlEvents:UIControlEventTouchUpInside];
    [self.contentView addSubview:self.journeyClarityXylophoneBtn];


    //: 描述_4
    UIView *thriveUmbrella = [[UIView alloc] initWithFrame:CGRectZero];
    thriveUmbrella.size = CGSizeMake(148, 99);
    thriveUmbrella.left = 33;
    thriveUmbrella.top = 25;
    self.driftwoodSwayMarbleView = thriveUmbrella;
    [self.contentView addSubview:thriveUmbrella];

	//: 描述_5
	[self.contentView addSubview:self.juggleFlourishTangleTextField];
	[self.juggleFlourishTangleTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(118);
		make.height.mas_equalTo(87);
	}];


    //: 描述_6
    UITextField *onyxFeast = [[UITextField alloc] initWithFrame:CGRectZero];
    self.tranquilYardTextField = onyxFeast;
    [self.contentView addSubview:onyxFeast];
	[self.tranquilYardTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(112);
		make.height.mas_equalTo(106);
	}];


    //: 描述_7
    UIButton *magnitude = [[UIButton alloc] initWithFrame:CGRectZero];
    magnitude.frame = CGRectMake(20, 17, 65, 103);
    UIImage *ponder = [UIImage imageNamed:@"images/icon_7.png"];
    if (ponder) {
	    [magnitude setImage:ponder forState:UIControlStateNormal];
    }
    [magnitude setTitle:@"button_7" forState:UIControlStateNormal];
    [magnitude setTitle:@"button_selected_7" forState:UIControlStateSelected];
    [magnitude setTitleColor:[UIColor colorWithRed:170/255.0 green:67/255.0 blue:185/255.0 alpha:0.7] forState:UIControlStateNormal];
    [magnitude setTitleColor:[UIColor colorWithRed:176/255.0 green:122/255.0 blue:251/255.0 alpha:0.6] forState:UIControlStateSelected];
    [magnitude addTarget:self action:@selector(action_7) forControlEvents:UIControlEventTouchUpInside];
    self.unveilButton = magnitude;
    [self.contentView addSubview:magnitude];


    //: 描述_8
    UIButton *duskZeal = [[UIButton alloc] initWithFrame:CGRectZero];
    duskZeal.size = CGSizeMake(98, 169);
    duskZeal.left = 45;
    duskZeal.top = 1;
    UIImage *balloonQuaint = [UIImage imageNamed:@"images/icon_8.png"];
    if (balloonQuaint) {
	    [duskZeal setImage:balloonQuaint forState:UIControlStateNormal];
    }
    [duskZeal setTitle:@"button_8" forState:UIControlStateNormal];
    [duskZeal setTitle:@"button_selected_8" forState:UIControlStateSelected];
    [duskZeal setTitleColor:[UIColor colorWithRed:46/255.0 green:227/255.0 blue:138/255.0 alpha:0.8] forState:UIControlStateNormal];
    [duskZeal setTitleColor:[UIColor colorWithRed:19/255.0 green:57/255.0 blue:145/255.0 alpha:0.8] forState:UIControlStateSelected];
    [duskZeal addTarget:self action:@selector(action_8) forControlEvents:UIControlEventTouchUpInside];
    self.radianceButton = duskZeal;
    [self.contentView addSubview:duskZeal];


    //: 描述_9
    self.joyfulZenithBtn = [[UIButton alloc] initWithFrame:CGRectZero];
    self.joyfulZenithBtn.size = CGSizeMake(126, 126);
    self.joyfulZenithBtn.left = 37;
    self.joyfulZenithBtn.top = 19;
    UIImage *fusionIlluminateEnchanting = [UIImage imageNamed:@"images/icon_9.png"];
    if (fusionIlluminateEnchanting) {
	    [self.joyfulZenithBtn setImage:fusionIlluminateEnchanting forState:UIControlStateNormal];
    }
    [self.joyfulZenithBtn setTitle:@"button_9" forState:UIControlStateNormal];
    [self.joyfulZenithBtn setTitle:@"button_selected_9" forState:UIControlStateSelected];
    [self.joyfulZenithBtn setTitleColor:[UIColor colorWithRed:156/255.0 green:64/255.0 blue:141/255.0 alpha:0.6] forState:UIControlStateNormal];
    [self.joyfulZenithBtn setTitleColor:[UIColor colorWithRed:70/255.0 green:52/255.0 blue:228/255.0 alpha:0.5] forState:UIControlStateSelected];
    [self.joyfulZenithBtn addTarget:self action:@selector(action_9) forControlEvents:UIControlEventTouchUpInside];
    [self.contentView addSubview:self.joyfulZenithBtn];
}


@end